home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / gfx / 3d / irit50src.lha / irit5 / trim_lib / trim_loc.h < prev   
Encoding:
C/C++ Source or Header  |  1994-12-04  |  1.1 KB  |  30 lines

  1. /******************************************************************************
  2. * Trim_loc.h - header file for the TRIMolic library.                  *
  3. * This library is closely related to cagd_lib and should be linked with it.   *
  4. *******************************************************************************
  5. * Written by Gershon Elber, Nov. 94.                          *
  6. ******************************************************************************/
  7.  
  8. #ifndef TRIM_LOC_H
  9. #define TRIM_LOC_H
  10.  
  11. #include <math.h>
  12. #include <stdio.h>
  13. #include "irit_sm.h"
  14. #include "cagd_lib.h"
  15.  
  16. /******************************************************************************
  17. * This macro is called when the library has detected an unrecoverable error.  *
  18. * Default action is to call TrimFatalError, but you may want to reroute this  *
  19. * to invoke your handler and recover yourself (by long jump for example).     *
  20. ******************************************************************************/
  21. #define TRIM_FATAL_ERROR(Msg)    TrimFatalError(Msg)
  22.  
  23. #include "trim_lib.h"
  24.  
  25. extern int _TrimUVSamplesPerCurve;
  26. extern CagdBType _TrimUVSamplesOptimal;
  27. extern CagdBType _TrimEuclidComposedFromUV;
  28.  
  29. #endif /* TRIM_LOC_H */
  30.